package com.estudy.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ReturnCode {
    RC200(200, "请求成功"),
    RC403(403, "无访问权限"),
    RC500(500, "系统异常"),
    RC404(404,"404 资源不存在");

    // 自定义状态码
    private final Integer code;

    // 自定义描述
    private final String message;
}